// 非必填字段


// 紧急联系人
const emergencyContact = ['emergencyContact', 'isRelation', 'contactMobile', 'mainContact']
// 工作经历
const occupationalHistory = ['startDate', 'endDate', 'officeCompany', 'departmentName', 'workPostName', 'workWitnessName']


// 正式工
export function regularEmployee() {
  return ['joinCpcDate', 'joinCcylDate', 'isVehicle', 'vehicleDate', 'isIndustry']
}


// 派遣工
export function dispatching() {
  return [ 'joinCpcDate', 'whetherFirstPay','whetherCompanyLocal', 'lastQuitDate',  'joinCcylDate', 'isVehicle', 'vehicleDate', 'isIndustry', 'bankAccount', 'accountsBank', 'bankName', 'emailType', 'emailAddress', 'familyName', 'familyRelation', 'familyNameFirst', 'familyBirthDate', 'workUnit', 'mainEmail', 'workPosition', ...emergencyContact, ...occupationalHistory]
}

// 小时工
export function WorkerHourlyWorker() {
  return ['joinCpcDate','whetherFirstPay','whetherCompanyLocal', 'lastQuitDate', 'joinCcylDate', 'isVehicle', 'vehicleDate', 'isIndustry', 'bankAccount', 'accountsBank', 'bankName', 'emailType', 'emailAddress', 'familyName', 'familyRelation', 'familyNameFirst', 'familyBirthDate', 'workUnit', 'mainEmail', 'workPosition', 'startDate', 'endDate', 'officeCompany', 'departmentName', 'workPostName', 'workWitnessName', ...emergencyContact, ...occupationalHistory]
}


// 实习生
export function trainee() {
  return ['joinCpcDate', 'whetherCompanyLocal', 'lastQuitDate',  'joinCcylDate', 'isVehicle', 'vehicleDate', 'isIndustry','startDate', 'endDate', 'officeCompany', 'departmentName', 'workPostName', 'workWitnessName', ...occupationalHistory]
}
